package com.jack.design_patterns.creational.factory.abstract_factory;

public class MainTest {

    public static void main(String[] args) {
        WuLinAbstractFactory factory = new WuLinChongQingCarFactory();
        AbstractCar car = factory.createCar();
        car.run();

        factory = new WuLinWuHanMaskFactory();
        AbstractMask mask = factory.createMask();
        mask.protect();

    }
}
